<?if($data->friend->online):?>
<div id="friends">
<h2><span><?=_('Online Friends')?></span></h2>
<div class="container">
    <?foreach ($data->friend->online as $p):?>
            <? include 'apps/profile/template/mini.html'; ?>
    <?endforeach;?>
    <div class="clear"></div>
</div>
</div>
<?endif?>
